<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="/static/index/index/css/style.css">
    <link href="/static/index/index/css/common.css" type="text/css" rel="stylesheet" />
    <link href="/static/index/index/css/index.css" type="text/css" rel="stylesheet" />
</head>
<style>
    .a1 {
        width: 120px;
        height: 45px;
        float: left;
        margin-right: 20px;
        font-size: 16px;
        line-height: 45px;
        margin-top: 6px;
        text-align: center;
        border: 1px solid #CFCFCF;
    }

    .a2 {
        width: 120px;
        height: 45px;
        float: left;
        background-color: #23232F;
        margin-right: 20px;
        font-size: 16px;
        line-height: 45px;
        margin-top: 6px;
        color: #fff;
        text-align: center;
        border: 1px solid #CFCFCF;
    }
</style>
<body>
    <div class="top">
        <div class="top_title">
            滨州市数据汇聚平台
        </div>
        <div class="top_user">
            <div class="top_user_f5">
                <img src="__STATIC__/index/img/f5.png" alt="">
            </div>
            <div class="top_user_userphoto">
                {empty name="admin"}
                {else /}
                <img src="__STATIC__/index/img/uesrphoto.png" alt="">
                {/empty}
            </div>
            <div class="top_user_text">
                {empty name="admin"}
                <a href="{:url('index/login')}">登入</a>
                {else /}
                欢迎，{$admin}
                {/empty}
            </div>
            <div class="top_user_select">
                <select name="" id="">
                </select>
            </div>
            {empty name="admin"}

            {else /}
            <div class="top_user_tuichu">
                <img src="__STATIC__/index/img/tuichu.png" alt="">
            </div>
            <div class="top_user_text">
                <a href="javascript:;" id="logon">退出</a>
            </div>
            {/empty}
        </div>

    </div>
    <div class="cont">
        <div class="banner">
            <div class="banner_text">
                数据汇聚 数据分析 数据挖掘 数据感知
            </div>
        </div>
        <div class="cont_table">
            <div class="cont_table_title">
                <div class="cont_table_title_text">
                    <!--<span>开发区</span>-->
                </div>
                <div class="cont_table_title_btn">
                    <div class="a1">
                        <a href="{:url('index/index')}">待填报</a>
                    </div>
                    <div class="a2">
                        历史填报
                    </div>
                </div>
            </div>
            <div class="cont_table_cont">
                <div class="cont_table_cont_table">
                    <table>
                        <tr>
                            <td>序号</td>
                            <td class="td_name">项目名称</td>
                            <td class="td_name">建设单位</td>
                            <td class="td_touzi">总投资</td>
                            <td class="td_touzi">2020年计划投资</td>
                            <td class="td_touzi">2020年完成投资</td>
                        </tr>
                        {volist name="list" id="vo"}
                        <tr>
                            <td>{$vo.id}</td>
                            <td class="td_name">{$vo.name}</td>
                            <td class="td_name">{$vo.danwei}</td>
                            <td>{$vo.touzi}</td>
                            <td>{$vo.jihua}</td>
                            <td>{$vo.wancheng}</td>
                        </tr>
                        {/volist}
                    </table>
                </div>
            </div>
        </div>
    </div>
</body>
<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<script src="/static/index/index/js/layui.js"></script>
<script src="/static/index/index/js/layui.all.js"></script>
<script src="/static/index/index/js/imgUp.js"></script>

<script>
    $('#logon').click(function() {
        $.post("{:url('index/index/logul')}", '', function(data) {
            // console.log(data);
            $('#scripta').append(data);
            layer.msg('正在退出');
            setTimeout(function() {
                window.location.href = '{:url("index/index/login")}';
            }, 2000);

        })
    });
</script>

</html>